#include<stdio.h>
#include<ctype.h>

int main()
{
    char s[100];
    int cnt = 0;
    char ch;
    while ((ch = getchar()) != EOF)
    {
        if (isalpha(ch))
            s[cnt++] = ch;
    }
    s[cnt] = '\0';
    printf("%s", s);
    return 0;
}